package com.dinghui.ebookbag.enity;

import java.util.Arrays;

/**
 * Created by Jmh
 * on 2021-03-11
 */
public class PackInfo {
    private long time;  //  包的时间戳
    private int count;  // 分割的包数量
    private int num;    //  当前的包编号
    private byte[] data;  // 包中存放的数据

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "PackInfo{" +
                "time=" + time +
                ", count=" + count +
                ", num=" + num +
                ", data=" + Arrays.toString(data) +
                '}';
    }
}
